package com.ruoyi.eservice.pojo.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 核酸点对象 eservice_notice_place
 *
 * @author ruoyi
 * @date 2022-11-11
 */
@TableName(value = "eservice_notice_place")
public class NoticePlace extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 核酸点id */
    @Excel(name = "核酸点id")
    /**
     * IdType.AUTO          数据库ID自增
     * IdType.INPUT         用户输入ID
     * IdType.ASSIGN_ID     全局唯一ID，内容为空自动填充（雪花算法）
     * IdType.ASSIGN_UUID   全局唯一ID，内容为空自动填充
     */
    @TableId(type = IdType.AUTO)
    private Long noticePlaceId;

    /** 核酸点名称 */
    @Excel(name = "核酸点名称")
    private Long natName;

    /** 街道名 */
    @Excel(name = "街道名")
    private String natStreet;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String natPlace;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date natStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date natEndtime;

    /** 经度 */
    @Excel(name = "经度")
    private Long lng;

    /** 维度 */
    @Excel(name = "维度")
    private Long lat;

    /** 公告id */
    @Excel(name = "公告id")
    private Long naNoticeId;

    public void setNoticePlaceId(Long noticePlaceId)
    {
        this.noticePlaceId = noticePlaceId;
    }

    public Long getNoticePlaceId()
    {
        return noticePlaceId;
    }
    public void setNatName(Long natName)
    {
        this.natName = natName;
    }

    public Long getNatName()
    {
        return natName;
    }
    public void setNatStreet(String natStreet)
    {
        this.natStreet = natStreet;
    }

    public String getNatStreet()
    {
        return natStreet;
    }
    public void setNatPlace(String natPlace)
    {
        this.natPlace = natPlace;
    }

    public String getNatPlace()
    {
        return natPlace;
    }
    public void setNatStarttime(Date natStarttime)
    {
        this.natStarttime = natStarttime;
    }

    public Date getNatStarttime()
    {
        return natStarttime;
    }
    public void setNatEndtime(Date natEndtime)
    {
        this.natEndtime = natEndtime;
    }

    public Date getNatEndtime()
    {
        return natEndtime;
    }
    public void setLng(Long lng)
    {
        this.lng = lng;
    }

    public Long getLng()
    {
        return lng;
    }
    public void setLat(Long lat)
    {
        this.lat = lat;
    }

    public Long getLat()
    {
        return lat;
    }
    public void setNaNoticeId(Long naNoticeId)
    {
        this.naNoticeId = naNoticeId;
    }

    public Long getNaNoticeId()
    {
        return naNoticeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticePlaceId", getNoticePlaceId())
            .append("natName", getNatName())
            .append("natStreet", getNatStreet())
            .append("natPlace", getNatPlace())
            .append("natStarttime", getNatStarttime())
            .append("natEndtime", getNatEndtime())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("naNoticeId", getNaNoticeId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
